﻿using System;
using System.Collections.Generic;
using ShippingManage.DataAccessor.Interfaces;

namespace ShippingManage.DataAccessor.Entities
{
	public class HouseAirWayBill : Dng.Core.ModifiedEntity, IHouseAirWayBill
	{
		#region Database attributes

		string _AirWayBill = string.Empty;
		string _ShipperName = "";
		string _ShipperAddress = "";
		string _ShipperTelephone = "";
		string _ShipperFax = "";
		DateTime _Date1 = Global.Now;
		string _Flight1 = "";
		double _Amount = 0.0d;
		DateTime _Date2 = Global.Now;
		string _Flight2 = "";
		string _To1 = "";
		string _By1 = "";
		string _To2 = "";
		string _By2 = "";
		string _Currency = "";
		string _Declared1 = "";
		string _Declared2 = "";
		string _Diversion = "";
		DateTime _DateExecute = Global.Now;
		string _ConsigneeName = "";
		string _ConsigneeAddress = "";
		string _ConsigneeTelephone = "";
		string _ConsigneeFax = "";
		string _IssuingName = "";
		string _IssuingCity = "";
		string _IssuingTelephone = "";
		string _IssuingFax = "";
		string _AirportDepature = "";
		string _AirportDestination = "";
		string _AccountName = "";
		string _AccountAddress = "";
		string _AccountTelephone = "";
		string _AccountFax = "";
		string _Place = "";
		string _Signature = "";
		string _Code1 = string.Empty;
		string _Code2 = string.Empty;
		int _Code3 = 0;

		List<HAWBItem> _HAWBItems = null;
		#endregion

		public HouseAirWayBill() { }

		#region Database properties

		public string AirWayBill
		{
			set { _AirWayBill = value; }
			get { return _AirWayBill; }
		}
		public string ShipperName
		{
			set { _ShipperName = value; }
			get { return _ShipperName; }
		}

		public string ShipperAddress
		{
			set { _ShipperAddress = value; }
			get { return _ShipperAddress; }
		}

		public string ShipperTelephone
		{
			set { _ShipperTelephone = value; }
			get { return _ShipperTelephone; }
		}

		public string ShipperFax
		{
			set { _ShipperFax = value; }
			get { return _ShipperFax; }
		}

		public DateTime Date1
		{
			set { _Date1 = value; }
			get { return _Date1; }
		}

		public string Flight1
		{
			set { _Flight1 = value; }
			get { return _Flight1; }
		}

		public double Amount
		{
			set { _Amount = value; }
			get { return _Amount; }
		}

		public DateTime Date2
		{
			set { _Date2 = value; }
			get { return _Date2; }
		}

		public string Flight2
		{
			set { _Flight2 = value; }
			get { return _Flight2; }
		}

		public string To1
		{
			set { _To1 = value; }
			get { return _To1; }
		}

		public string By1
		{
			set { _By1 = value; }
			get { return _By1; }
		}

		public string To2
		{
			set { _To2 = value; }
			get { return _To2; }
		}

		public string By2
		{
			set { _By2 = value; }
			get { return _By2; }
		}

		public string Currency
		{
			set { _Currency = value; }
			get { return _Currency; }
		}

		public string Declared1
		{
			set { _Declared1 = value; }
			get { return _Declared1; }
		}

		public string Declared2
		{
			set { _Declared2 = value; }
			get { return _Declared2; }
		}

		public string Diversion
		{
			set { _Diversion = value; }
			get { return _Diversion; }
		}

		public DateTime DateExecute
		{
			set { _DateExecute = value; }
			get { return _DateExecute; }
		}

		public string ConsigneeName
		{
			set { _ConsigneeName = value; }
			get { return _ConsigneeName; }
		}

		public string ConsigneeAddress
		{
			set { _ConsigneeAddress = value; }
			get { return _ConsigneeAddress; }
		}

		public string ConsigneeTelephone
		{
			set { _ConsigneeTelephone = value; }
			get { return _ConsigneeTelephone; }
		}

		public string ConsigneeFax
		{
			set { _ConsigneeFax = value; }
			get { return _ConsigneeFax; }
		}

		public string IssuingName
		{
			set { _IssuingName = value; }
			get { return _IssuingName; }
		}

		public string IssuingCity
		{
			set { _IssuingCity = value; }
			get { return _IssuingCity; }
		}

		public string IssuingTelephone
		{
			set { _IssuingTelephone = value; }
			get { return _IssuingTelephone; }
		}

		public string IssuingFax
		{
			set { _IssuingFax = value; }
			get { return _IssuingFax; }
		}

		public string AirportDepature
		{
			set { _AirportDepature = value; }
			get { return _AirportDepature; }
		}

		public string AirportDestination
		{
			set { _AirportDestination = value; }
			get { return _AirportDestination; }
		}

		public string AccountName
		{
			set { _AccountName = value; }
			get { return _AccountName; }
		}

		public string AccountAddress
		{
			set { _AccountAddress = value; }
			get { return _AccountAddress; }
		}

		public string AccountTelephone
		{
			set { _AccountTelephone = value; }
			get { return _AccountTelephone; }
		}

		public string AccountFax
		{
			set { _AccountFax = value; }
			get { return _AccountFax; }
		}

		public string Place
		{
			set { _Place = value; }
			get { return _Place; }
		}

		public string Signature
		{
			set { _Signature = value; }
			get { return _Signature; }
		}

		public string Code1
		{
			set { _Code1 = value; }
			get { return _Code1; }
		}

		public string Code2
		{
			set { _Code2 = value; }
			get { return _Code2; }
		}

		public int Code3
		{
			set { _Code3 = value; }
			get { return _Code3; }
		}

		public List<HAWBItem> HAWBItems
		{
			set { _HAWBItems = value; }
			get { return _HAWBItems; }
		}

		#endregion
	}

}
